package com.tanhua.sso.pojo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;

import java.util.Date;


public abstract class BasePojo {

    @TableField(fill = FieldFill.INSERT) //自动填充
    private Date created; //对应数据库字段
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updated;  //对应数据库字段
}

